package com.lingkang.top.seesister;

import android.app.Application;
import android.os.Build;

import com.lingkang.top.seesister.config.UrlConfig;
import com.lingkang.top.seesister.network.OkHttpRequest;

public class SeeSisterApplication extends Application {

    @Override
    public void onCreate() {
        super.onCreate();

        init();
    }

    private String device;

    //初始化
    private void init() {
        device = Build.DEVICE;
        new Thread(new Runnable() {
            @Override
            public void run() {
                OkHttpRequest.get(UrlConfig.Ip + "/visit?device=" + device);
            }
        }).start();

    }
}
